import store from './Store'
const key = 'token'

export const setToken = token => store.set(key, token)

export const getToken = () => store.get(key)

export const delToken = () => store.remove(key)

export const hasToken = () => store.has(key)